package weixin02.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (Advertisement)实体类
 *
 * @author makejava
 * @since 2021-07-06 21:14:22
 */
public class Advertisement implements Serializable {
    private static final long serialVersionUID = 118712205758456831L;
    /**
     * 轮播图id
     */
    private Integer id;

    private String name;

    private String cover;
    /**
     * 所关联的商品
     */
    private Integer goodsId;

    private Date createTime;

    private Date updateTime;
    /**
     * 0无效，1有效
     */
    private Integer state;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

}
